package com.xp.gather2.comment;

import org.apache.shiro.authc.AuthenticationToken;
/**
 * @Auther: 张川
 * @Date: 2019-05-19 14:12
 * @Description:
 */
public class JwtToken implements AuthenticationToken {

    private String token;

    public JwtToken(String token) {
        this.token = token;
    }

    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }
}
